package com.dl.tt.bean;

public class Stuff {

	private int id;
	private String name;
	private String email;
	private String sex;
	private String dep;
	public Stuff(int id, String name, String email, String sex, String dep) {
		// 创建父类对象，要想使用父类的属性，必须有父类对象，完成继承
		super();
		this.id = id;
		this.name = name;
		this.email = email;
		this.sex = sex;
		this.dep = dep;
	}
	public Stuff() {
		super();
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getDep() {
		return dep;
	}
	public void setDep(String dep) {
		this.dep = dep;
	}
	@Override
	public String toString() {
		return "Stuff [id=" + id + ", name=" + name + ", email=" + email + ", sex=" + sex + ", dep=" + dep + "]";
	}
	
}
